package com.bw.Service;

import com.bw.Mapper.sugarMapper;
import com.bw.doman.sugarDTO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class sugarServiceImpl implements sugarService {
    @Autowired
    sugarMapper sugarMapper;
    @Override
    public List<sugarDTO> getChinaMpa() {
        return sugarMapper.getChinaMpa();
    }

    @Override
    public List<sugarDTO> getTrademark() {
        return sugarMapper.getTrademark();
    }

    @Override
    public List<sugarDTO> getCategory() {
        return sugarMapper.getCategory();
    }
}
